package com.entity;

import com.util.VeDate;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Round {

	private String roundid = "R" + VeDate.getStringId();
	private Hall hall=new Hall();
	private Film film=new Film();
	private String start;
	private String end;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date ownday;

	public String getRoundid() {
		return roundid;
	}

	public void setRoundid(String roundid) {
		this.roundid = roundid;
	}

	public Hall getHall() {
		return hall;
	}

	public void setHall(Hall hall) {
		this.hall = hall;
	}

	public Film getFilm() {
		return film;
	}

	public void setFilm(Film film) {
		this.film = film;
	}

	public String getStart() {
		return start;
	}

	public void setStart(String start) {
		this.start = start;
	}

	public String getEnd() {
		return end;
	}

	public void setEnd(String end) {
		this.end = end;
	}

	public Date getOwnday() {
		return ownday;
	}

	public void setOwnday(Date ownday) {
		this.ownday = ownday;
	}

}
